<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-name" class="form-control" name="row[name]" type="text" value="{$row.name|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Paper_tube')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-paper_tube" class="form-control" name="row[paper_tube]" type="text" value="{$row.paper_tube|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Inner_label')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-inner_label" class="form-control" name="row[inner_label]" type="text" value="{$row.inner_label|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Carton')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-carton" class="form-control" name="row[carton]" type="text" value="{$row.carton|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Double_cover')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-double_cover" class="form-control" name="row[double_cover]" type="text" value="{$row.double_cover|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Pe_bag')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-pe_bag" class="form-control" name="row[pe_bag]" type="text" value="{$row.pe_bag|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Pallet')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-pallet" class="form-control" name="row[pallet]" type="text" value="{$row.pallet|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Inspection_report')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-inspection_report" class="form-control" name="row[inspection_report]" type="text" value="{$row.inspection_report|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Product_label')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-product_label" class="form-control" name="row[product_label]" type="text" value="{$row.product_label|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Stacking_layers')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-stacking_layers" class="form-control" name="row[stacking_layers]" type="number" value="{$row.stacking_layers|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Pallet_size')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-pallet_size" class="form-control" name="row[pallet_size]" type="text" value="{$row.pallet_size|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Inspection_result')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-inspection_result" class="form-control" name="row[inspection_result]" type="number" value="{$row.inspection_result|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Inspection_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-inspection_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[inspection_time]" type="text" value="{$row.inspection_time}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Head_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-head_id" data-rule="required" data-source="head/index" class="form-control selectpage" name="row[head_id]" type="text" value="{$row.head_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Remark')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-remark" class="form-control " rows="5" name="row[remark]" cols="50">{$row.remark|htmlentities}</textarea>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Create_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-create_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[create_time]" type="text" value="{$row.create_time}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Update_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-update_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[update_time]" type="text" value="{$row.update_time}">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
